package org.adorsys.aderp.cash.work.encashment.redirect;

/**
 * Properties of this bean are injected through el expression in aderp-client.xml file.
 * Developers might have to change thoses values in the aderp-cash-redirect.properties
 * @see ClientToAderpCashController
 * @author "w2b"
 *
 */
public class RedirectorBean {
	
	/**
	 * url of aderp-cash
	 */
	private String aderpCashUrl ;
	/**
	 * this is the calling application's url. The user will be redirect here, by aderp-cash after.
	 */
	private String moduleCallingUrl ;
	/**
	 * this aim to provide the request our {@link ClientToAderpCashController} will handle and
	 * to switch to aderp-cash
	 */
	private String requestToHandle;
	/**
	 * data are exchanged as String in the url.
	 * Developer could user {@link CashRegisterComponentHelper} to build a 
	 * good data string. 
	 */
	private String data;
	
	
	public String getAderpCashUrl() {
		return aderpCashUrl;
	}
	public void setAderpCashUrl(String aderpCashUrl) {
		this.aderpCashUrl = aderpCashUrl;
	}
	public String getModuleCallingUrl() {
		return moduleCallingUrl;
	}
	public void setModuleCallingUrl(String moduleCallingUrl) {
		this.moduleCallingUrl = moduleCallingUrl;
	}
	public String getRequestToHandle() {
		return requestToHandle;
	}
	public void setRequestToHandle(String requestToHandle) {
		this.requestToHandle = requestToHandle;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	
	
}
